.PHONY: build run clean help

BINARY="go-online-judge"

build:
	go build -o ${BINARY}

run:
	@go run ./

clean:
	@if [ -f ${BINARY} ]; then rm ${BINARY}; fi

help:
	@echo "build - 编译GO代码，生成可运行文件"
	@echo "run - 运行Go代码"
	@echo "clean - 移除可执行文件"